﻿//***********************************************************************
// Assembly         : phpmk
// Author           : sy
// Created          : 04-02-2010
//
// Last Modified By : sy
// Last Modified On : 04-02-2010
//
// Copyright        : (c) Another-D-Mention Software. All rights reserved.
//***********************************************************************

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using phpmk.ADM.Utils;
using phpmk.ADM.Out;
using Phpmk.ADM.Parameters;
using phpmk.ADM.Core;
using System.Windows.Forms;
using System.Threading;

namespace Phpmk {
    internal static class Program {

        static void Main(string[] args) {
            Console.WriteLine("{0}. Version {1}", Application.ProductName, Application.ProductVersion);
            Console.WriteLine("(c) 2010 Another-D-Mention Software - ADM Tools");
            Console.WriteLine("-----------------------------------------------");
            
            ParameterParser parameters = new ParameterParser(args);
            try {
                CoreApp core = new CoreApp(parameters);
                core.Execute();
            } catch (Exception ex) {
                Output.GetInstance().Error(ex.Message);
            }
        }
    }
}
